<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script src="vue.js"></script>
</head>
<body>
<div id="app">
    <h1>{{txt}}</h1>
    <input type="text" v-model="txt">
</div>

<script>
    var app = new Vue({
        el: '#app',
        data: {
            txt: '武沛齐'
        },
        methods: {
            clickMe: function () {
                this.txt = '俞科峰'
            }
        }
    })
</script>

</body>
</html>